﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Shop : NPCF
    {
        private string item;

        public string Item { get => item; set => item = value; }

        public Shop(string name, NPCType Type1, string item) : base(name, Type1)
        {
            this.item = item; 
        }

        public override void Speak()
        {
            Console.WriteLine("{0}：我这里有{1}你要吗？",this.Name,this.item);
        }
    }
}
